package com.hysf.project1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AppTest {
	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);
		PersonBiz personBix = context.getBean(PersonBiz.class);
		personBix.findAll().forEach(System.out::println);
	}
}
